<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>引导页</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
	</head>

	<body>
		<div class="mui-content" style="text-align: center;padding-top: 20%;">
			<p><span class="mui-icon mui-icon-weixin"  style="font-size: 100px;"></span></p>
		    <p>访问此页面</p>
		    <p>请先 <a href="javascript:;" id="login">登录</a></p>
		    <p>未注册请 <a href="javascript:;" id="reg">点击注册</a></p>
		</div>
		<script src="js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init()
			mui.ready(function () {
				var loginBtn = document.getElementById("login"),
					regBtn = document.getElementById("reg");
					
				loginBtn.addEventListener('tap',function(){
					mui.openWindow('login.html','login.html',{})
				});
				
				regBtn.addEventListener('tap',function(){
					mui.openWindow('reg.html','reg.html',{})
				});
				
			
			})
		</script>
	</body>

</html>